Skip to content

Conversation

@lukewalczak
Copy link
Member

@lukewalczak lukewalczak commented May 14, 2025

Changes

  • Theme Renaming:
    All references to MD3DarkTheme and MD3LightTheme have been renamed to DarkTheme and LightTheme respectively. This affects imports, theme selection logic, and usage throughout the codebase.

  • Color Refactoring:
    The import and usage of MD3Colors have been replaced with a more generic Colors import from react-native-paper. All color references have been updated accordingly for consistency.

  • TextInput constant imports:
    Constants such as INPUT_PADDING_HORIZONTAL, ICON_OFFSET, and others are now imported directly from the constants module instead of being accessed via the getConstants helper function. This change simplifies the code and makes the usage of constants more explicit.

  • Component and Example Updates:
    All affected components and example files have been updated to use the new theme and color names. Unused or redundant code related to previous theme versions has been removed for better maintainability.

  • Type and Utility Refactors:
    Type names and utility function names have been updated to match the new naming conventions, further improving code readability.

@lukewalczak lukewalczak changed the base branch from main to next May 14, 2025 07:11
@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here.

@lukewalczak lukewalczak added the v6 label May 14, 2025
@lukewalczak lukewalczak force-pushed the refactor/rename-MD3-to-default branch from 7d7b810 to 7fcb610 Compare May 14, 2025 12:09
@callstack-bot
Copy link

Hey @lukewalczak, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@lukewalczak lukewalczak merged commit 936e8f7 into next May 15, 2025
3 checks passed
lukewalczak added a commit that referenced this pull request May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants